.aboutus{
    margin-bottom: 2em;
    .container{
        width: 80%;
        .abouttitle{
            width: 15em;
            height: 4em;
            margin: 0 auto;
            position: relative;
            margin-bottom: 2em;
            font-weight: bold;
            .case{
                width: 14em;
                height: 3em;
                position: absolute;
                bottom: 0;
                left: .5em;
                z-index: -20;
                border: 1px solid #6db6ff;
            }

            span:nth-of-type(1){
                background-color: #fff;
                font-size: 1.5em;
                display: inline-block;
                height: 1.5em;
                width: 5em;
                line-height: 1.5em;
                position: absolute;
                left: 2.5em;
                top: 0;
                text-align: center;
                z-index: 1;
            }

            span:nth-of-type(2){
                font-size: 1em;
                display: inline-block;
                height: 1em;
                line-height: 1em;
                width: 100%;
                text-align: center;
                position: absolute;
                top: 2em;
                z-index: 2;
            }
        }

        .infolist{
            ul{
                display: flex;
                li{
                    background: #f2f2f2;
                    margin:0 1em ;
                    transition: all .1s linear;
                    .info{
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        
                        padding: 1em;

                        .subject{
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            padding: 1em;
                        }
                    }
                    
                    span:nth-of-type(1){
                        font-size: 1em;
                        color: #000;
                        font-weight: bold;
                    }

                    span:nth-of-type(2){
                        font-size: 1em;
                        color: #000;
                        font-family: OSBold;
                        margin-top: .2em;
                    }

                    p{
                        font-size: .8em;
                        line-height: 2em;
                        color: #838383;
                    }
                }

                li:hover{
                    padding:0 2em;
                }

            }

            @media screen and(max-width:768px) {
                ul{
                    flex-direction: column;
                    li{
                        padding:0 .5em;
                        margin:1em 0;
                        .info{
                            flex-direction: row;
                        }

                        .subject{
                            width: 6em;
                        }
                    }

                    li:hover{
                        padding:0;
                    }
                }
            }
        }
    }


    @media screen and (max-width:974px) {
        .container {
            width: 90%;
        }
    }

    @media screen and (max-width:866px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }

    @media screen and (max-width:768px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }
}

.portfolio{
    .container{
        width: 80%;
        .title{
            width: 15em;
            height: 4em;
            margin: 0 auto;
            position: relative;
            margin-bottom: 2em;
            font-weight: bold;
            .case{
                width: 14em;
                height: 3em;
                position: absolute;
                bottom: 0;
                left: .5em;
                z-index: -20;
                border: 1px solid #6db6ff;
            }

            span:nth-of-type(1){
                background-color: #fff;
                font-size: 1.5em;
                display: inline-block;
                height: 1.5em;
                width: 5em;
                line-height: 1.5em;
                position: absolute;
                left: 2.5em;
                top: 0;
                text-align: center;
                z-index: 1;
            }

            span:nth-of-type(2){
                font-size: 1em;
                display: inline-block;
                height: 1em;
                line-height: 1em;
                width: 100%;
                text-align: center;
                position: absolute;
                top: 2em;
                z-index: 2;
            }
        }

        .list{
            ul{
                display: flex;
                flex-wrap: wrap;
                justify-content: space-around;
                li{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    flex:0 0 30%;
                    .pic{
                        border: 1px solid #070002;
                        margin-bottom: 1em;
                    }

                    span{
                        color: #000;
                        font-size: .7em;
                        font-weight: bold;
                        margin-bottom: 1em;
                    }

                    .btn{
                        border-radius: 0;
                        padding: 0.2em 2em;
                        margin-bottom: 2em;
                    }

                    .btn-primary {
                        color: #fff;
                        background-color: #6db6ff;
                        border-color: #6db6ff;
                    }
                }

                @media screen and (max-width:768px){
                    li{
                        flex: 0 1 auto;
                        span{
                            font-size: 1em;
                        }
                    }
                }
            }
        }
    }

    @media screen and (max-width:974px) {
        .container {
            width: 90%;
        }
    }

    @media screen and (max-width:866px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }

    @media screen and (max-width:768px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }
}

.frilink{
    margin-bottom: 2em;
    .container{
        width: 80%;
        

        .slide{
            width: 100%;
            height: 22em;
            background-color: #313131;
            background: url(../images/link_03.png) no-repeat;
            background-size: cover;
            padding-top: 1em;
            .title{
                width: 15em;
                height: 4em;
                margin: 0 auto;
                position: relative;
                font-weight: bold;
                color: #fff;
                .case{
                    width: 14em;
                    height: 3em;
                    position: absolute;
                    bottom: 0;
                    left: .5em;
                    z-index: 5;
                    border: 1px solid #6db6ff;
                }
    
                span:nth-of-type(1){
                    background-color: #63666a;
                    font-size: 1.5em;
                    display: inline-block;
                    height: 1.5em;
                    width: 4em;
                    line-height: 1.5em;
                    position: absolute;
                    left: 3em;
                    top: 0;
                    text-align: center;
                    z-index: 20;
                }
    
                span:nth-of-type(2){
                    font-size: 1em;
                    display: inline-block;
                    height: 1em;
                    line-height: 1em;
                    width: 100%;
                    text-align: center;
                    position: absolute;
                    top: 2em;
                    z-index: 21;
                }
            }
            .carousel-inner{
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                .item{
                    ul{
                        display: flex;
                        justify-content: space-around;
                    }
                }
            }
            @media screen and (max-width:768px){
                .carousel-inner{
                    top: 60%;
                    transform:translateY(-50%) scale(.8);
                    ul{
                        flex-wrap: wrap;
                        align-items: center;
                        flex-direction: column;
                        li{
                            flex:0 0 100%;
                            margin-bottom: 3em;
                        }
                        li:nth-of-type(2){
                            display: none;
                        }
                        li:nth-of-type(3){
                            display: none;
                        }
                    }
                }
                
            }     
        }
        
    }


    @media screen and (max-width:974px) {
        .container {
            width: 90%;
        }
    }

    @media screen and (max-width:866px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }

    @media screen and (max-width:768px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }
}